Plotly is an open source Graphing Library works with a number of coding languages and is designed to make interactive graphs that can be displayed in HTML
It works with several coding languages:
- R
- Python
- Java Script
8/23/2021
Plotly is an open source Graphing Library works with a number of coding languages and is designed to make interactive graphs that can be displayed in HTML
It works with several coding languages:
Calling the plotly package allows 2 main ways to create Plotly Graphics
The Plotly Logo
In R there are many similarities between how Plotly and GGPLOT charts are put together.
g <- ggplot(data = data)+aes(x=units.sold, y = income, color = wine,pch = type)+
geom_point()+ggtitle("Example Plot")
ggplotly(g) %>% layout()
plot_ly(data = data, x= ~units.sold, y= ~income,
color = ~wine, symbol = ~type) %>%
layout(title = " A quick Plotly Graph")
plot_ly(data = data, x= ~factor(wine), y = ~income, type = 'scatter',
name = 'scatterplot') %>% add_boxplot(name = "boxplot") %>%
layout(title = 'Layed Wine Chart')
Plotly also provides a large number of realtively easy options for creating maps via base data frames. Here are some of the options:
Plotly, as part of the interactive promise, offers the ability to create additional items:
For a full list of graphing options and how to execute them visit: https://plotly.com/graphing-libraries/